﻿namespace AnyOffice.Model
{
    using System;

    public class AddressPjData
    {
        protected int _addressId = -1;
        protected object _birthday;
        protected object _bp;
        protected object _child;
        protected object _deptAddr;
        protected object _deptFax;
        protected object _deptName;
        protected object _deptPost;
        protected object _deptTel;
        protected object _email;
        protected int _groupId;
        protected object _homeAddr;
        protected object _homePost;
        protected object _homeTel;
        protected object _icq;
        protected object _initial;
        protected object _mate;
        protected object _ministration;
        protected object _mobile;
        protected object _msn;
        protected string _name = string.Empty;
        protected object _nickName;
        protected object _note;
        protected object _oicq;
        protected object _sex;
        protected object _userId;

        public int AddressId
        {
            get
            {
                return this._addressId;
            }
            set
            {
                this._addressId = value;
            }
        }

        public string Birthday
        {
            get
            {
                return (string) this._birthday;
            }
            set
            {
                this._birthday = value;
            }
        }

        public bool BirthdayIsNull
        {
            get
            {
                return (this._birthday == null);
            }
            set
            {
                if (value)
                {
                    this._birthday = null;
                }
            }
        }

        public string Bp
        {
            get
            {
                return (string) this._bp;
            }
            set
            {
                this._bp = value;
            }
        }

        public bool BpIsNull
        {
            get
            {
                return (this._bp == null);
            }
            set
            {
                if (value)
                {
                    this._bp = null;
                }
            }
        }

        public string Child
        {
            get
            {
                return (string) this._child;
            }
            set
            {
                this._child = value;
            }
        }

        public bool ChildIsNull
        {
            get
            {
                return (this._child == null);
            }
            set
            {
                if (value)
                {
                    this._child = null;
                }
            }
        }

        public string DeptAddr
        {
            get
            {
                return (string) this._deptAddr;
            }
            set
            {
                this._deptAddr = value;
            }
        }

        public bool DeptAddrIsNull
        {
            get
            {
                return (this._deptAddr == null);
            }
            set
            {
                if (value)
                {
                    this._deptAddr = null;
                }
            }
        }

        public string DeptFax
        {
            get
            {
                return (string) this._deptFax;
            }
            set
            {
                this._deptFax = value;
            }
        }

        public bool DeptFaxIsNull
        {
            get
            {
                return (this._deptFax == null);
            }
            set
            {
                if (value)
                {
                    this._deptFax = null;
                }
            }
        }

        public string DeptName
        {
            get
            {
                return (string) this._deptName;
            }
            set
            {
                this._deptName = value;
            }
        }

        public bool DeptNameIsNull
        {
            get
            {
                return (this._deptName == null);
            }
            set
            {
                if (value)
                {
                    this._deptName = null;
                }
            }
        }

        public string DeptPost
        {
            get
            {
                return (string) this._deptPost;
            }
            set
            {
                this._deptPost = value;
            }
        }

        public bool DeptPostIsNull
        {
            get
            {
                return (this._deptPost == null);
            }
            set
            {
                if (value)
                {
                    this._deptPost = null;
                }
            }
        }

        public string DeptTel
        {
            get
            {
                return (string) this._deptTel;
            }
            set
            {
                this._deptTel = value;
            }
        }

        public bool DeptTelIsNull
        {
            get
            {
                return (this._deptTel == null);
            }
            set
            {
                if (value)
                {
                    this._deptTel = null;
                }
            }
        }

        public string Email
        {
            get
            {
                return (string) this._email;
            }
            set
            {
                this._email = value;
            }
        }

        public bool EmailIsNull
        {
            get
            {
                return (this._email == null);
            }
            set
            {
                if (value)
                {
                    this._email = null;
                }
            }
        }

        public int GroupId
        {
            get
            {
                return this._groupId;
            }
            set
            {
                this._groupId = value;
            }
        }

        public string HomeAddr
        {
            get
            {
                return (string) this._homeAddr;
            }
            set
            {
                this._homeAddr = value;
            }
        }

        public bool HomeAddrIsNull
        {
            get
            {
                return (this._homeAddr == null);
            }
            set
            {
                if (value)
                {
                    this._homeAddr = null;
                }
            }
        }

        public string HomePost
        {
            get
            {
                return (string) this._homePost;
            }
            set
            {
                this._homePost = value;
            }
        }

        public bool HomePostIsNull
        {
            get
            {
                return (this._homePost == null);
            }
            set
            {
                if (value)
                {
                    this._homePost = null;
                }
            }
        }

        public string HomeTel
        {
            get
            {
                return (string) this._homeTel;
            }
            set
            {
                this._homeTel = value;
            }
        }

        public bool HomeTelIsNull
        {
            get
            {
                return (this._homeTel == null);
            }
            set
            {
                if (value)
                {
                    this._homeTel = null;
                }
            }
        }

        public string Icq
        {
            get
            {
                return (string) this._icq;
            }
            set
            {
                this._icq = value;
            }
        }

        public bool IcqIsNull
        {
            get
            {
                return (this._icq == null);
            }
            set
            {
                if (value)
                {
                    this._icq = null;
                }
            }
        }

        public string Initial
        {
            get
            {
                return (string) this._initial;
            }
            set
            {
                this._initial = value;
            }
        }

        public bool InitialIsNull
        {
            get
            {
                return (this._initial == null);
            }
            set
            {
                if (value)
                {
                    this._initial = null;
                }
            }
        }

        public string Mate
        {
            get
            {
                return (string) this._mate;
            }
            set
            {
                this._mate = value;
            }
        }

        public bool MateIsNull
        {
            get
            {
                return (this._mate == null);
            }
            set
            {
                if (value)
                {
                    this._mate = null;
                }
            }
        }

        public string Ministration
        {
            get
            {
                return (string) this._ministration;
            }
            set
            {
                this._ministration = value;
            }
        }

        public bool MinistrationIsNull
        {
            get
            {
                return (this._ministration == null);
            }
            set
            {
                if (value)
                {
                    this._ministration = null;
                }
            }
        }

        public string Mobile
        {
            get
            {
                return (string) this._mobile;
            }
            set
            {
                this._mobile = value;
            }
        }

        public bool MobileIsNull
        {
            get
            {
                return (this._mobile == null);
            }
            set
            {
                if (value)
                {
                    this._mobile = null;
                }
            }
        }

        public string Msn
        {
            get
            {
                return (string) this._msn;
            }
            set
            {
                this._msn = value;
            }
        }

        public bool MsnIsNull
        {
            get
            {
                return (this._msn == null);
            }
            set
            {
                if (value)
                {
                    this._msn = null;
                }
            }
        }

        public string Name
        {
            get
            {
                return this._name;
            }
            set
            {
                this._name = value;
            }
        }

        public string NickName
        {
            get
            {
                return (string) this._nickName;
            }
            set
            {
                this._nickName = value;
            }
        }

        public bool NickNameIsNull
        {
            get
            {
                return (this._nickName == null);
            }
            set
            {
                if (value)
                {
                    this._nickName = null;
                }
            }
        }

        public string Note
        {
            get
            {
                return (string) this._note;
            }
            set
            {
                this._note = value;
            }
        }

        public bool NoteIsNull
        {
            get
            {
                return (this._note == null);
            }
            set
            {
                if (value)
                {
                    this._note = null;
                }
            }
        }

        public string Oicq
        {
            get
            {
                return (string) this._oicq;
            }
            set
            {
                this._oicq = value;
            }
        }

        public bool OicqIsNull
        {
            get
            {
                return (this._oicq == null);
            }
            set
            {
                if (value)
                {
                    this._oicq = null;
                }
            }
        }

        public bool Sex
        {
            get
            {
                return (bool) this._sex;
            }
            set
            {
                this._sex = value;
            }
        }

        public bool SexIsNull
        {
            get
            {
                return (this._sex == null);
            }
            set
            {
                if (value)
                {
                    this._sex = null;
                }
            }
        }

        public string UserId
        {
            get
            {
                return (string) this._userId;
            }
            set
            {
                this._userId = value;
            }
        }

        public bool UserIdIsNull
        {
            get
            {
                return (this._userId == null);
            }
            set
            {
                if (value)
                {
                    this._userId = null;
                }
            }
        }
    }
}

